package mongohelper;

import mongohelper.exceptions.MongoTranslationException;

import com.mongodb.DBObject;

public interface _MongoObjectTranslator<T> {

	T fromDb(DBObject obj) throws MongoTranslationException;

	DBObject toDb(T instance) throws MongoTranslationException;

}
